<extend name='Layout/index'/>
<block name='breadcrumb'>
	<li>
		<i class="icon-home home-icon"></i>
		<a href="<{:U('Index/index')}>">首页</a>
	</li>
	<li class="active">学员信息管理</li>
</block>
<block name='page-header'>
	<h1>
		学员信息管理
		<small>
			<i class="icon-double-angle-right"></i>
			 信息修改
		</small>
	</h1>
</block>
<block name='main-content'>
	<div class="row">
		<div class="col-md-6">
		<!--表单开始-->
		<form class="form-horizontal" action="<{:U('update')}>" method='post'>
		  <div class="form-group">
		    <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
		    <div class="col-sm-10">
		      <input type="text" class="form-control" name='name' id="inputEmail3" value="<{$data.name}>">
		    </div>
		  </div>
		  <div class="form-group">
		    <label for="inputPassword3" class="col-sm-2 control-label">年龄</label>
		    <div class="col-sm-10">
		      <input type="text" class="form-control" name='age' id="inputPassword3" value="<{$data.age}>">
		    </div>
		  </div>
		  <div class="form-group">
		  	<label for="inputPassword3" class="col-sm-2 control-label">性别</label>
		    <div class="col-sm-10">
		      <div class="radio">
		        <label>
		          <input type="radio" name='sex' value='1'  <if condition="$data.sex eq '1'">checked</if>> 男
		        </label>
		        <label>
		          <input type="radio" name='sex' value='2' <if condition="$data.sex eq '2'">checked</if>> 女
		        </label>
		      </div>
		    </div>
		  </div>
		   <div class="form-group">
		    <label for="inputPassword3" class="col-sm-2 control-label">班期</label>
		    <div class="col-sm-10">
		      <input type="text" class="form-control" name='grade' id="inputPassword3"  value="<{$data.grade}>">
		    </div>
		  </div>
		  <div class="form-group">
		    <div class="col-sm-offset-2 col-sm-10">
		    	<input type="hidden" name="id" value="<{$data.id}>">
		      <button type="submit" class="btn btn-default">修改</button>
		    </div>
		  </div>
		</form>
		<!--表单解释-->
		</div>
	</div>		
</block>	